package com.itheima.health.dao;

import com.itheima.health.pojo.entity.OrderSetting;

import java.util.Date;
import java.util.List;

public interface ReservationDao {
    /**
     * 插入数据
     * @param orderSetting
     */
    void processExcelFile(OrderSetting orderSetting);

    /**
     * 查询日期时候的数据
     * @param orderDate
     * @return
     */
    List<OrderSetting> getOrderSettingByMonth(Date orderDate);

    /**
     * 根据日期查人数
     * @param orderDate
     * @return
     */
    int fuckingSearchFor(Date orderDate);

    /**
     * 更新已预约人数
     * @param orderSetting
     */
    void updateFuking(OrderSetting orderSetting);
}
